package com.weiqk.pmdemo.service.impl;


import com.weiqk.pmdemo.dao.DicRepository;
import com.weiqk.pmdemo.dto.ApplyLinkDto;
import com.weiqk.pmdemo.dto.PurchaseLinkDto;
import com.weiqk.pmdemo.pojo.Dic;
import com.weiqk.pmdemo.service.DicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DicServiceImpl implements DicService {

    @Autowired
    DicRepository dicRepository;
    @Override
    public String findMaterialNameByDicCode(int diccode) {
        String dicName = dicRepository.findDicNameByDicCode(diccode);
        return dicName;
    }


}
